<?xml version='1.0'?>

<gl_extension name="GL_ARB_geometry_shader4" reg_no="47">
	<tokens>
		<token name="GL_LINES_ADJACENCY_ARB" value="0x000A"/>
		<token name="GL_LINE_STRIP_ADJACENCY_ARB" value="0x000B"/>
		<token name="GL_TRIANGLES_ADJACENCY_ARB" value="0x000C"/>
		<token name="GL_TRIANGLE_STRIP_ADJACENCY_ARB" value="0x000D"/>
		<token name="GL_PROGRAM_POINT_SIZE_ARB" value="0x8642"/>
		<token name="GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB" value="0x8C29"/>
		<token name="GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB" value="0x8DA7"/>
		<token name="GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB" value="0x8DA8"/>
		<token name="GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB" value="0x8DA9"/>
		<token name="GL_GEOMETRY_SHADER_ARB" value="0x8DD9"/>
		<token name="GL_GEOMETRY_VERTICES_OUT_ARB" value="0x8DDA"/>
		<token name="GL_GEOMETRY_INPUT_TYPE_ARB" value="0x8DDB"/>
		<token name="GL_GEOMETRY_OUTPUT_TYPE_ARB" value="0x8DDC"/>
		<token name="GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB" value="0x8DDD"/>
		<token name="GL_MAX_VERTEX_VARYING_COMPONENTS_ARB" value="0x8DDE"/>
		<token name="GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB" value="0x8DDF"/>
		<token name="GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB" value="0x8DE0"/>
		<token name="GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB" value="0x8DE1"/>
		<token name="GL_MAX_VARYING_COMPONENTS" value="0x8B4B"/>
		<token name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER" value="0x8CD4"/>
	</tokens>

	<functions>
		<function name="glProgramParameteriARB" return="void">
			<params>
				<param type="GLuint" name="program"/>
				<param type="GLenum" name="pname"/>
				<param type="GLint" name="value"/>
			</params>
			<mappings>
				<mapping from="GL_EXT_geometry_shader4" name="glProgramParameteriEXT"/>
			</mappings>
		</function>
		<function name="glFramebufferTextureARB" return="void">
			<params>
				<param type="GLenum" name="target"/>
				<param type="GLenum" name="attachment"/>
				<param type="GLuint" name="texture"/>
				<param type="GLint" name="level"/>
			</params>
			<mappings>
				<mapping from="GL_NV_geometry_program4" name="glFramebufferTextureEXT"/>
			</mappings>
		</function>
		<function name="glFramebufferTextureLayerARB" return="void">
			<params>
				<param type="GLenum" name="target"/>
				<param type="GLenum" name="attachment"/>
				<param type="GLuint" name="texture"/>
				<param type="GLint" name="level"/>
				<param type="GLint" name="layer"/>
			</params>
		</function>
		<function name="glFramebufferTextureFaceARB" return="void">
			<params>
				<param type="GLenum" name="target"/>
				<param type="GLenum" name="attachment"/>
				<param type="GLuint" name="texture"/>
				<param type="GLint" name="level"/>
				<param type="GLenum" name="face"/>
			</params>
			<mappings>
				<mapping from="GL_NV_geometry_program4" name="glFramebufferTextureFaceEXT"/>
			</mappings>
		</function>
	</functions>
</gl_extension>
